package cn.tedu.basic;

public class Test7_Switch {
    public static void main(String[] args) {
        int i = 2;
        switch (i){
            case 1:
                System.out.println(1);break;
            case 'a':
                System.out.println('a');break;
            case 2:
                System.out.println(2);break;
            case '0':
                System.out.println('0');break;
            default:
                System.out.println(100);
        }
    }
}
